﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>微街秀 > 意见反馈</title>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no" />
    <link type="text/css" rel="stylesheet" href="css/base.css" />
    <link rel="stylesheet" type="text/css" href="css/css.css" />
    <link href="css/feedback.css" rel="stylesheet" type="text/css" />
    <script src="js/jquery-2.1.4.min.js" type="text/javascript"></script>
    <script src="js/base.js" type="text/javascript"></script>
    <script type="text/javascript" src="js/dialog.js"></script>
    <script src="js/ajax-data.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $('#submits').click(function () { submits(); });
        });

        function submits() {
            if ($(".input").val() == "") {
                Alert("请输入要反馈的意见");
                return false;
            }
            ajax.getAjax("Ajax/Feedback.ashx?Add", "contact=" + $(".inputone").val() + "&content=" + $(".input").val(), function (data) {
                if (data.code.toString() == "0") {
                    $(".inputone").val("");
                    $(".input").val("");
                    Alert("提交成功");
                }
            });
        }
    </script>
</head>
<body>
    <div class="wamtop">
        <div class="topleft" onclick="window.location.href='Set.html'">
             
                <img src="img/5.jpg" /></div>
        <div class="topcententxt">
            意见反馈</div>
    </div>
    <div class="box">
        <textarea class="input" placeholder="请留下您的宝贵建议"></textarea>
    </div>
    <div class="box1">
        <input type="text" class="inputone" placeholder="联系方式">
    </div>
    <div class="box2" id="submits">
        <div class="input2">
            确定</div>
    </div>
    <div style="margin-top: 50px;">
    </div>
</body>
</html>
